package test;

import org.springframework.stereotype.Component;

@Component("bus")
public class Bus implements Car {
    public void drive(){
        System.out.println("开公交车出去工作");
    }
}
